package com.example.bookstore.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

@Data
public class Appraise implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private Integer bookId;
    private Integer orderId;
    private String appraiseText;
    private String time;


    @TableField(exist = false)
    private String bookImg;

    @TableField(exist = false)
    private String userImg;

    @TableField(exist = false)
    private String realName;
}
